package com.cavy.platform.server.dto;

import com.cavy.platform.server.domain.ContainerVolumeData;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 唐旭
 * @Date 2018/7/18
 */
@Data
public class ContainerVolumeDto implements ContainerVolumeData {
    @NotNull(message = "容器挂载路径不能为空")
    private String containerPath;
    @NotNull(message = "主机挂载路径不能为空")
    private String hostPath;

}
